//
//  RBSearchResultShopCell.m
//  zhongzhenglu
//
//  Created by 马军凯 on 2023/5/4.
//

#import "RBSearchResultShopCell.h"
#import "RBSearchResultResponse.h"

@interface RBSearchResultShopCell ()
//logo
@property (weak, nonatomic) IBOutlet UIImageView *logoImageView;
//标题
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

@end

@implementation RBSearchResultShopCell

- (void)awakeFromNib {
    [super awakeFromNib];
}
//赋值
- (void)setCellModel:(RBCellModel *)cellModel {
    RBSearchResultModel *model = cellModel.cellData;
    //
    [self.logoImageView setImageWithUrl:model.logo placeHolder:nil];
    //
    self.titleLabel.text = model.store_name;
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

@end
